package cn.tedu.micro.demo.rabbitmq;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class RabbitmqDemo {
    public static void main(String[] args) {
        //添加一个系统properties变量spring.amqp.deserialization.trust.all=true
        System.setProperty("spring.amqp.deserialization.trust.all","true");
        //System.setProperty("name","wch");
        SpringApplication.run(RabbitmqDemo.class, args);
    }
}
